All Questions
Tagged with executablepath
41 questions
0votes
1answer
47views
How to disambiguate a second version of an installation from command-line?
I installed a tool called herd (http://diy.inria.fr/herd/). The original version of this I think is in the global path so I can call it from anywhere by writing herd7. Now I also have a second ...
0votes
2answers
80views
How come I can change my PATH to gibberish and still use commands?
The environment variable PATH is the search path for executable commands, so I thought changing the PATH to something that doesn't exist (for instance, export PATH=blah) would make me unable to use ...
0votes
0answers
818views
Make Python3 script callable from everywhere without making it an executable
I've got a folder: /root/Desktop/commands/ This folder contains many Python scripts that should be callable from anywhere from the terminal. How can I make it, that I say once, that all scripts in ...
0votes
0answers
8kviews
/usr/bin/fg: line 4: fg: no job control
I have faced the problem mentioned above when I call sleep 100 & Background job starts, and then I pause the process by: kill -STOP <PID> Then if I just say fg sleep It brings the job to ...
0votes
1answer
872views
What is the $PATH given to cron jobs? [duplicate]
I have a process that runs on a @reboot cron job. The process needs to run an executable file. I have noticed that I have to put the executable in /usr/bin/. I can't just put it in a folder in my $...
13votes
1answer
3kviews
Executable file named 'test' is in $PATH but won't run
I have a file in $HOME/bin (before you ask, yes, it is in my path) called test which I've confirmed can be executed fine when I run it with the full path to the file. However, I get a really weird ...
0votes
0answers
146views
Make programs in /opt searchable from launcher
I've installed Telegram and I've the folder "tsetup.1.3.10", where executable files reside, into Download folder. I don't want my programs in Download folder, so I moved they in /opt folder. But, ...
1vote
1answer
129views
Linux's command line behaviour (Ubunto/Deb) in running an executable file [duplicate]
@user-123:~$ Downloads/execfile-3.4/execfile @user-123:~$ @user-123:~$ cd Downloads/execfileparentdir-3.4/ @user-123:~/Downloads/execfileparentdir-3.4$ execfile execfile: command not found @user-123:~...
2votes
2answers
3kviews
binary placed in folder on $PATH is not immediately accessible
in my $PATH I have folder ~/.zsh/bin which I use for small scripts and custom built executable binaries, for example I added a recently compiled tool I made called wercker_build_status to the folder. ...
1vote
1answer
3kviews
How to list all commands available from $PATH [duplicate]
I would like to list all commands available in $PATH. Any idea ?
35votes
1answer
3kviews
How did the ~/.local/bin thing start? How widespread is it?
I find more and more tools that put executables into ~/.local/bin. I am old and for me ~/bin is the place in my $HOME for executables. Where did this crazy new fashion originate? Why are people doing ...
3votes
1answer
3kviews
Should libexec folders be added to some PATH-like variables?
Situation Some programs that I build from source have a directory libexec in the installation directory (for example, gnuplot). As a matter of rule, I add a export LD_LIBRARY_PATH=${installation ...
1vote
1answer
122views
PATH environment variable
If a command's executable file resides in a directory that is not defined in your PATH environment variable, how can you still execute it?
3votes
2answers
6kviews
Absolute path to currently executing program
argv[0] references the shell command that caused the current process to load. getcwd() returns current working directory. From that info, can I construct an absolute path to the program's binary ...
0votes
1answer
57views
How to locate exactly that executable, which will be run if it's name entered in command line? [duplicate]
Is it possible to locate exactly that executable myname which will be run if passed to command line > myname locate command didn't work as expected, since it returns numerous results. Result ...